<template>
    <Doughnut :data="series"></Doughnut>
</template>
<script>
import Doughnut from '@/components/echats/Doughnut.vue'
export default {
    components:{
        Doughnut
    },
  data() {
    return {
      //数据
      series: {
        list: [
          {
            value: 1048,
            name: "网络异常",
          },
          {
            value: 735,
            name: "设备离线",
          },
          {
            value: 580,
            name: "超限警报",
          },
          {
            value: 484,
            name: "其他上报",
          },
        ],
        name: "数据",
      },
    };
  },
};
</script>